package org.witsoft.demo.graphql.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.witsoft.demo.graphql.entity.User;

public interface UserRepository extends JpaRepository<User,Long> {

    User findFirstByEmailAndPwd(String email, String pwd);
}
